package com.xwh.shop.user.service.service;
import com.xwh.shop.user.model.dto.*;
import com.xwh.shop.user.model.entity.Member;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xwh.shop.user.model.vo.MemberInfoPageVO;
import com.xwh.shop.user.model.vo.MemberInfoVO;
import com.xwh.shop.user.model.vo.MemberLoginVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xwh
 * @since 2025-07-15
 */
public interface MemberService extends IService<Member> {

    MemberLoginVO login(MemberLoginDTO memberLoginDTO);

    void updatePassword(MemberUpdatePasswordDTO memberUpdatePasswordDTO);

    Member register(MemberRegisterDTO memberRegisterDTO);

    void enable(Long id);

    void resetPassword(Long id);
    MemberInfoVO info();


    Long getMemberIdByToken();
}
